/summon villager ~ ~2 ~ {VillagerData:{profession:librarian,level:5,type:plains},Offers:{Recipes:[
{buy:{id:music_disc_far,Count:1,tag:
{display:{Name:"{\"text\":\"Iron Talisman Level 5\",\"color\":\"gray\"}"},AttributeModifiers:
[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.armorToughness",Name:"generic.armorToughness",Amount:5,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"}]}}

,buyB:{id:nether_star,Count:1}

,sell:{id:music_disc_far,Count:1,tag:
{display:{Name:"{\"text\":\"Craftable Iron Talisman Level 5\",\"color\":\"gray\"}"},AttributeModifiers:
[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.armorToughness",Name:"generic.armorToughness",Amount:5,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"}]}}
,maxUses:9999999},

{buy:{id:music_disc_mellohi,Count:1,tag:
{display:{Name:"{\"text\":\"Diamond Talisman Level 5\",\"color\":\"blue\"}"},AttributeModifiers:
[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.armorToughness",Name:"generic.armorToughness",Amount:10,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"}]}}
,buyB:{id:nether_star,Count:1}

,sell:{id:music_disc_mellohi,Count:1,tag:
{display:{Name:"{\"text\":\"Craftable Diamond Talisman Level 5\",\"color\":\"blue\"}"},AttributeModifiers:
[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.armorToughness",Name:"generic.armorToughness",Amount:10,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"}]}},maxUses:9999999},

{buy:{id:music_disc_far,Count:1,tag:
{display:{Name:"{\"text\":\"Craftable Iron Talisman Level 5\",\"color\":\"gray\"}"},AttributeModifiers:
[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.armorToughness",Name:"generic.armorToughness",Amount:5,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"}]}}

,buyB:{id:music_disc_mellohi,Count:1,tag:
{display:{Name:"{\"text\":\"Craftable Diamond Talisman Level 5\",\"color\":\"blue\"}"},AttributeModifiers:
[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.armorToughness",Name:"generic.armorToughness",Amount:10,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"}]}}

,sell:{id:music_disc_strad,Count:1,tag:
{display:{Name:"{\"text\":\"Hardened Steel Talisman\",\"color\":\"blue\"}"},AttributeModifiers:
[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:5,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:1,UUIDLeast:1,UUIDMost:1,Slot:"offhand"},
{AttributeName:"generic.armorToughness",Name:"generic.armorToughness",Amount:14,Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"offhand"}]}}

,maxUses:9999999}]}}